package com.kyrioscraft.cloud.security.core.validate.code;

import org.springframework.web.context.request.ServletWebRequest;

/**
 * @Author kyrioscraft
 * @Date 2018/12/26 13:44
 * @Description //TODO
 **/
public interface ValidateCodeProcessor {

    String SESSION_KEY_PREFIX = "SESSION_KEY_FOR_CODE_";

    void create(ServletWebRequest request) throws Exception;

    void validate(ServletWebRequest request);
}
